package hspedu.learn.javabase.extendsImporve;

public class ComputerOrg {
    private String cpu;
    private String memory;
    private String disk;

    public ComputerOrg() {
    }
    public String getDetails(){
        return "Cpu="+cpu+" memory="+memory+" disk="+disk;
    }

    public ComputerOrg(String cpu, String memory, String disk) {
        this.cpu = cpu;
        this.memory = memory;
        this.disk = disk;
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public String getDisk() {
        return disk;
    }

    public void setDisk(String disk) {
        this.disk = disk;
    }
}
